package com.ruoyi.labsafety.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.TreeEntity;

/**
 * 安全检查指标项对象 lab_safety_check_index_item
 * 
 * @author ruoyi
 * @date 2022-03-06
 */
public class LabSafetyCheckIndexItem extends TreeEntity<LabSafetyCheckIndexItem> {
	private static final long serialVersionUID = 1L;

	/** id */
	private Long id;

	/** 检查项编号 */
	@Excel(name = "检查项编号")
	private String itemNo;

	/** 检查项名称 */
	@Excel(name = "检查项名称")
	private String name;

	/** 检查要点 */
	@Excel(name = "检查要点")
	private String spec;


	/** 模板id */
	@Excel(name = "模板id")
	private Long indexId;
	
	/** 状态 */
	@Excel(name = "状态")
	private Long statusOpt;
	

	public Long getStatusOpt() {
		return statusOpt;
	}

	public void setStatusOpt(Long statusOpt) {
		this.statusOpt = statusOpt;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getId() {
		return id;
	}

	public void setItemNo(String itemNo) {
		this.itemNo = itemNo;
	}

	public String getItemNo() {
		return itemNo;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getName() {
		return name;
	}

	public void setSpec(String spec) {
		this.spec = spec;
	}

	public String getSpec() {
		return spec;
	}

	public void setIndexId(Long indexId) {
		this.indexId = indexId;
	}

	public Long getIndexId() {
		return indexId;
	}

	@Override
	public String toString() {
		return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE).append("id", getId())
				.append("itemNo", getItemNo()).append("name", getName()).append("spec", getSpec())
				.append("parentId", getParentId()).append("indexId", getIndexId()).toString();
	}
}
